package one.stand.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author cjr
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel
public class LoginResponse {
    @ApiModelProperty(value = "登录令牌")
    private String accessToken;
    @ApiModelProperty(value = "用户名")
    private String name;
    @ApiModelProperty(value = "用户头像")
    private String icon;
    @ApiModelProperty(value = "是否已注册")
    private boolean register;
    @ApiModelProperty(value = "是否已加入企业")
    private boolean hasCompany;
    private String inviteName;
    private String inviteCompanyName;
    private Integer inviteCompanyId;
}
